package edu.java.ishop.dao;
import java.util.List;

import edu.java.ishop.model.Model;
import edu.java.ishop.model.Product;

public interface ItemDao<T extends Model> {
	//void save(T item);

	void delete(long Id);

	T getById(long Id);

	List<T> getAll();

	boolean save(T model);
	void delete(T model);
}
